/**
 * Created by dengyu on 2017/1/3.
 */
'use strict';
angular.module('MBD').directive('tradeGartnerFunction', [function () {
    return {
        restrict: 'A',
        link: function (scope, element, attrs) {
            var id = attrs['tardeGartnerFunction'];

            $timeout(function () {
                var width = angular.element('#' + id).width();
            })
        }
    };
}]);
